/*
 * @Author: lrren01
 * @Date: 2024-09-09 19:12:16
 * @LastEditors: lrren01
 * @LastEditTime: 2024-09-18 16:00:27
 * @Description: 
 */
export const detectComponents = (imgURL: string) => {
    return fetch('http://localhost:9090/getComponentPosition/', {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json',
      },
      body: JSON.stringify({
        imgURL,
      }),
    })
  }
